package pl.s7n.paint.commands;

import pl.s7n.paint.ImageInfo;

public class ResizeCmd {
  ImageInfo oldImage;
  ImageInfo newImage;

  public ResizeCmd(ImageInfo oldImage, ImageInfo newImage) {
    this.oldImage = oldImage;
    this.newImage = newImage;
  }

  @Override
  public String toString() {
    return "resize";
  }

  public ImageInfo getOldImage() {
    return oldImage;
  }

  public void setOldImage(ImageInfo oldImage) {
    this.oldImage = oldImage;
  }

  public ImageInfo getNewImage() {
    return newImage;
  }

  public void setNewImage(ImageInfo newImage) {
    this.newImage = newImage;
  }

}
